package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsHomeRecommendSubject;

import java.util.List;

public interface SmsHomeRecommendSubjectApi {
    void save(SmsHomeRecommendSubject smsHomeRecommendSubject);

    void deleteSubject(List<Long> ids);

    Page<SmsHomeRecommendSubject> getSubjectByPage(Long pageNum, Long pageSize, String subjectName, Integer recommendStatus);

    void updateSubject(Long id, Integer recommendStatus);

    void updateSortSubject(Long id, Integer sort);
}
